package test2;

public class TestDemo {

        public static void main(String[] args) {
            Student s=new Student() {
                public void run() {
                    System.out.println("我是学生，我要好好学习！");
                }
                //调用无参构造器
                {
                    System.out.println("我是大傻逼");
                }
            };
            s.run();
        }

}
